<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.20"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Newton Dynamics: nd::TiXmlBase Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(function() { init_search(); });
/* @license-end */
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo_php.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Newton Dynamics
   &#160;<span id="projectnumber">4.00</span>
   </div>
  </td>
   <td>        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.svg"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
          </span>
        </div>
</td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.20 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classnd_1_1_ti_xml_base.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="#pro-static-methods">Static Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="#pro-static-attribs">Static Protected Attributes</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="classnd_1_1_ti_xml_base-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">nd::TiXmlBase Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p><a class="el" href="classnd_1_1_ti_xml_base.html" title="TiXmlBase is a base class for every class in TinyXml.">TiXmlBase</a> is a base class for every class in TinyXml.  
 <a href="classnd_1_1_ti_xml_base.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for nd::TiXmlBase:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classnd_1_1_ti_xml_base.png" usemap="#nd::TiXmlBase_map" alt=""/>
  <map id="nd::TiXmlBase_map" name="nd::TiXmlBase_map">
<area href="classnd_1_1_ti_xml_attribute.html" title="An attribute is a name-value pair." alt="nd::TiXmlAttribute" shape="rect" coords="0,56,128,80"/>
<area href="classnd_1_1_ti_xml_node.html" title="The parent class for everything in the Document Object Model." alt="nd::TiXmlNode" shape="rect" coords="345,56,473,80"/>
<area href="classnd_1_1_ti_xml_comment.html" title="An XML comment." alt="nd::TiXmlComment" shape="rect" coords="0,112,128,136"/>
<area href="classnd_1_1_ti_xml_declaration.html" title="In correct XML the declaration is the first entry in the file." alt="nd::TiXmlDeclaration" shape="rect" coords="138,112,266,136"/>
<area href="classnd_1_1_ti_xml_document.html" title="Always the top level node." alt="nd::TiXmlDocument" shape="rect" coords="276,112,404,136"/>
<area href="classnd_1_1_ti_xml_element.html" title="The element is a container class." alt="nd::TiXmlElement" shape="rect" coords="414,112,542,136"/>
<area href="classnd_1_1_ti_xml_text.html" title="XML text." alt="nd::TiXmlText" shape="rect" coords="552,112,680,136"/>
<area href="classnd_1_1_ti_xml_unknown.html" title="Any tag that tinyXml doesn&#39;t recognize is saved as an unknown." alt="nd::TiXmlUnknown" shape="rect" coords="690,112,818,136"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a5b1588fcc9b7fee9e0fe546c22ce96da"><td class="memItemLeft" align="right" valign="top"><a id="a5b1588fcc9b7fee9e0fe546c22ce96da"></a>enum &#160;</td><td class="memItemRight" valign="bottom">{ <br />
&#160;&#160;<b>TIXML_NO_ERROR</b> = 0, 
<b>TIXML_ERROR</b>, 
<b>TIXML_ERROR_OPENING_FILE</b>, 
<b>TIXML_ERROR_OUT_OF_MEMORY</b>, 
<br />
&#160;&#160;<b>TIXML_ERROR_PARSING_ELEMENT</b>, 
<b>TIXML_ERROR_FAILED_TO_READ_ELEMENT_NAME</b>, 
<b>TIXML_ERROR_READING_ELEMENT_VALUE</b>, 
<b>TIXML_ERROR_READING_ATTRIBUTES</b>, 
<br />
&#160;&#160;<b>TIXML_ERROR_PARSING_EMPTY</b>, 
<b>TIXML_ERROR_READING_END_TAG</b>, 
<b>TIXML_ERROR_PARSING_UNKNOWN</b>, 
<b>TIXML_ERROR_PARSING_COMMENT</b>, 
<br />
&#160;&#160;<b>TIXML_ERROR_PARSING_DECLARATION</b>, 
<b>TIXML_ERROR_DOCUMENT_EMPTY</b>, 
<b>TIXML_ERROR_EMBEDDED_NULL</b>, 
<b>TIXML_ERROR_PARSING_CDATA</b>, 
<br />
&#160;&#160;<b>TIXML_ERROR_DOCUMENT_TOP_ONLY</b>, 
<b>TIXML_ERROR_STRING_COUNT</b>
<br />
 }</td></tr>
<tr class="separator:a5b1588fcc9b7fee9e0fe546c22ce96da"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a96da71f80d4449b22c8591b12f432d46"><td class="memItemLeft" align="right" valign="top"><a id="a96da71f80d4449b22c8591b12f432d46"></a>
void *&#160;</td><td class="memItemRight" valign="bottom"><b>operator new</b> (size_t size)</td></tr>
<tr class="separator:a96da71f80d4449b22c8591b12f432d46"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb32b748b131abd9e4d44c7d709fce36"><td class="memItemLeft" align="right" valign="top"><a id="afb32b748b131abd9e4d44c7d709fce36"></a>
void *&#160;</td><td class="memItemRight" valign="bottom"><b>operator new[]</b> (size_t size)</td></tr>
<tr class="separator:afb32b748b131abd9e4d44c7d709fce36"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b8e9c6321837a35aab2619c2d4d8a1d"><td class="memItemLeft" align="right" valign="top"><a id="a2b8e9c6321837a35aab2619c2d4d8a1d"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>operator delete</b> (void *ptr)</td></tr>
<tr class="separator:a2b8e9c6321837a35aab2619c2d4d8a1d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ff34b449659d23e1c12332049302260"><td class="memItemLeft" align="right" valign="top"><a id="a6ff34b449659d23e1c12332049302260"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>operator delete[]</b> (void *ptr)</td></tr>
<tr class="separator:a6ff34b449659d23e1c12332049302260"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f3a568a0b8d3dd4cd3d8f8957e53e3d"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnd_1_1_ti_xml_base.html#a8f3a568a0b8d3dd4cd3d8f8957e53e3d">Print</a> (FILE *cfile, int depth) const =0</td></tr>
<tr class="memdesc:a8f3a568a0b8d3dd4cd3d8f8957e53e3d"><td class="mdescLeft">&#160;</td><td class="mdescRight">All TinyXml classes can print themselves to a filestream or the string class (<a class="el" href="classnd_1_1_ti_xml_string.html">TiXmlString</a> in non-STL mode, std::string in STL mode.) Either or both cfile and str can be null.  <a href="classnd_1_1_ti_xml_base.html#a8f3a568a0b8d3dd4cd3d8f8957e53e3d">More...</a><br /></td></tr>
<tr class="separator:a8f3a568a0b8d3dd4cd3d8f8957e53e3d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4144f6d69813dad0a1ed66b71ebdec08"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnd_1_1_ti_xml_base.html#a4144f6d69813dad0a1ed66b71ebdec08">Row</a> () const</td></tr>
<tr class="memdesc:a4144f6d69813dad0a1ed66b71ebdec08"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the position, in the original source file, of this node or attribute.  <a href="classnd_1_1_ti_xml_base.html#a4144f6d69813dad0a1ed66b71ebdec08">More...</a><br /></td></tr>
<tr class="separator:a4144f6d69813dad0a1ed66b71ebdec08"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a524f62ad15e8c22d6e9f46fe5d0dd720"><td class="memItemLeft" align="right" valign="top"><a id="a524f62ad15e8c22d6e9f46fe5d0dd720"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnd_1_1_ti_xml_base.html#a524f62ad15e8c22d6e9f46fe5d0dd720">Column</a> () const</td></tr>
<tr class="memdesc:a524f62ad15e8c22d6e9f46fe5d0dd720"><td class="mdescLeft">&#160;</td><td class="mdescRight">See <a class="el" href="classnd_1_1_ti_xml_base.html#a4144f6d69813dad0a1ed66b71ebdec08" title="Return the position, in the original source file, of this node or attribute.">Row()</a> <br /></td></tr>
<tr class="separator:a524f62ad15e8c22d6e9f46fe5d0dd720"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae27fafb3e067c855bc5a84ec132b737b"><td class="memItemLeft" align="right" valign="top"><a id="ae27fafb3e067c855bc5a84ec132b737b"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnd_1_1_ti_xml_base.html#ae27fafb3e067c855bc5a84ec132b737b">SetUserData</a> (void *user)</td></tr>
<tr class="memdesc:ae27fafb3e067c855bc5a84ec132b737b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set a pointer to arbitrary user data. <br /></td></tr>
<tr class="separator:ae27fafb3e067c855bc5a84ec132b737b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7955aef40caf79c2eab7b677a876e571"><td class="memItemLeft" align="right" valign="top"><a id="a7955aef40caf79c2eab7b677a876e571"></a>
void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnd_1_1_ti_xml_base.html#a7955aef40caf79c2eab7b677a876e571">GetUserData</a> ()</td></tr>
<tr class="memdesc:a7955aef40caf79c2eab7b677a876e571"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a pointer to arbitrary user data. <br /></td></tr>
<tr class="separator:a7955aef40caf79c2eab7b677a876e571"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac1a462e5d50bb125d4ecdd4d6a423aed"><td class="memItemLeft" align="right" valign="top"><a id="ac1a462e5d50bb125d4ecdd4d6a423aed"></a>
const void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnd_1_1_ti_xml_base.html#ac1a462e5d50bb125d4ecdd4d6a423aed">GetUserData</a> () const</td></tr>
<tr class="memdesc:ac1a462e5d50bb125d4ecdd4d6a423aed"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a pointer to arbitrary user data. <br /></td></tr>
<tr class="separator:ac1a462e5d50bb125d4ecdd4d6a423aed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8631fc86258107c10eafc7c7acaa5be8"><td class="memItemLeft" align="right" valign="top"><a id="a8631fc86258107c10eafc7c7acaa5be8"></a>
virtual const char *&#160;</td><td class="memItemRight" valign="bottom"><b>Parse</b> (const char *p, <a class="el" href="classnd_1_1_ti_xml_parsing_data.html">TiXmlParsingData</a> *data, TiXmlEncoding encoding)=0</td></tr>
<tr class="separator:a8631fc86258107c10eafc7c7acaa5be8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:aa27db22cfc1b8412f879eea022d67290"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnd_1_1_ti_xml_base.html#aa27db22cfc1b8412f879eea022d67290">SetCondenseWhiteSpace</a> (bool condense)</td></tr>
<tr class="memdesc:aa27db22cfc1b8412f879eea022d67290"><td class="mdescLeft">&#160;</td><td class="mdescRight">The world does not agree on whether white space should be kept or not.  <a href="classnd_1_1_ti_xml_base.html#aa27db22cfc1b8412f879eea022d67290">More...</a><br /></td></tr>
<tr class="separator:aa27db22cfc1b8412f879eea022d67290"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac5ab5b5a4ed5abe6324a0223e5d5da5a"><td class="memItemLeft" align="right" valign="top"><a id="ac5ab5b5a4ed5abe6324a0223e5d5da5a"></a>
static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnd_1_1_ti_xml_base.html#ac5ab5b5a4ed5abe6324a0223e5d5da5a">IsWhiteSpaceCondensed</a> ()</td></tr>
<tr class="memdesc:ac5ab5b5a4ed5abe6324a0223e5d5da5a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the current white space setting. <br /></td></tr>
<tr class="separator:ac5ab5b5a4ed5abe6324a0223e5d5da5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a27da7d65ac28ed4b4af278ef7d0b2e83"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnd_1_1_ti_xml_base.html#a27da7d65ac28ed4b4af278ef7d0b2e83">EncodeString</a> (const TIXML_STRING &amp;str, TIXML_STRING *out)</td></tr>
<tr class="memdesc:a27da7d65ac28ed4b4af278ef7d0b2e83"><td class="mdescLeft">&#160;</td><td class="mdescRight">Expands entities in a string.  <a href="classnd_1_1_ti_xml_base.html#a27da7d65ac28ed4b4af278ef7d0b2e83">More...</a><br /></td></tr>
<tr class="separator:a27da7d65ac28ed4b4af278ef7d0b2e83"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:a50c50836c4909fb534f2cd3122b2553e"><td class="memItemLeft" align="right" valign="top">static const int&#160;</td><td class="memItemRight" valign="bottom"><b>utf8ByteTable</b> [256]</td></tr>
<tr class="separator:a50c50836c4909fb534f2cd3122b2553e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-static-methods"></a>
Static Protected Member Functions</h2></td></tr>
<tr class="memitem:a3a5214a12f153fd86db0f551cd794b0b"><td class="memItemLeft" align="right" valign="top"><a id="a3a5214a12f153fd86db0f551cd794b0b"></a>
static const char *&#160;</td><td class="memItemRight" valign="bottom"><b>SkipWhiteSpace</b> (const char *, TiXmlEncoding encoding)</td></tr>
<tr class="separator:a3a5214a12f153fd86db0f551cd794b0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e36bd69f695f3f52b96c17232489ac5"><td class="memItemLeft" align="right" valign="top"><a id="a5e36bd69f695f3f52b96c17232489ac5"></a>
static bool&#160;</td><td class="memItemRight" valign="bottom"><b>IsWhiteSpace</b> (char c)</td></tr>
<tr class="separator:a5e36bd69f695f3f52b96c17232489ac5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab4b2befb8208a6baaa7fb82ebec89fad"><td class="memItemLeft" align="right" valign="top"><a id="ab4b2befb8208a6baaa7fb82ebec89fad"></a>
static bool&#160;</td><td class="memItemRight" valign="bottom"><b>IsWhiteSpace</b> (int c)</td></tr>
<tr class="separator:ab4b2befb8208a6baaa7fb82ebec89fad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a7139ff175d79c44ff46ad4bae7e631"><td class="memItemLeft" align="right" valign="top"><a id="a0a7139ff175d79c44ff46ad4bae7e631"></a>
static const char *&#160;</td><td class="memItemRight" valign="bottom"><b>ReadName</b> (const char *p, TIXML_STRING *name, TiXmlEncoding encoding)</td></tr>
<tr class="separator:a0a7139ff175d79c44ff46ad4bae7e631"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd848e44a5845de28c9a5f3fc758bea6"><td class="memItemLeft" align="right" valign="top"><a id="afd848e44a5845de28c9a5f3fc758bea6"></a>
static const char *&#160;</td><td class="memItemRight" valign="bottom"><b>ReadText</b> (const char *in, TIXML_STRING *text, bool ignoreWhiteSpace, const char *endTag, bool ignoreCase, TiXmlEncoding encoding)</td></tr>
<tr class="separator:afd848e44a5845de28c9a5f3fc758bea6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ff8fa96b9be59c02539c778e1e721c5"><td class="memItemLeft" align="right" valign="top"><a id="a7ff8fa96b9be59c02539c778e1e721c5"></a>
static const char *&#160;</td><td class="memItemRight" valign="bottom"><b>GetEntity</b> (const char *in, char *value, int *length, TiXmlEncoding encoding)</td></tr>
<tr class="separator:a7ff8fa96b9be59c02539c778e1e721c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a122d9f9e6cd4d97daf2e29f8c0c411ce"><td class="memItemLeft" align="right" valign="top"><a id="a122d9f9e6cd4d97daf2e29f8c0c411ce"></a>
static const char *&#160;</td><td class="memItemRight" valign="bottom"><b>GetChar</b> (const char *p, char *_value, int *length, TiXmlEncoding encoding)</td></tr>
<tr class="separator:a122d9f9e6cd4d97daf2e29f8c0c411ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada0e0d9af89eab5bcc51835b160010fd"><td class="memItemLeft" align="right" valign="top"><a id="ada0e0d9af89eab5bcc51835b160010fd"></a>
static bool&#160;</td><td class="memItemRight" valign="bottom"><b>StringEqual</b> (const char *p, const char *endTag, bool ignoreCase, TiXmlEncoding encoding)</td></tr>
<tr class="separator:ada0e0d9af89eab5bcc51835b160010fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9be0472e398dd452e12a1bea0e8b9a0a"><td class="memItemLeft" align="right" valign="top"><a id="a9be0472e398dd452e12a1bea0e8b9a0a"></a>
static int&#160;</td><td class="memItemRight" valign="bottom"><b>IsAlpha</b> (unsigned char anyByte, TiXmlEncoding encoding)</td></tr>
<tr class="separator:a9be0472e398dd452e12a1bea0e8b9a0a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4551e4e61ca58ad8ba7c0daa6fb208c"><td class="memItemLeft" align="right" valign="top"><a id="aa4551e4e61ca58ad8ba7c0daa6fb208c"></a>
static int&#160;</td><td class="memItemRight" valign="bottom"><b>IsAlphaNum</b> (unsigned char anyByte, TiXmlEncoding encoding)</td></tr>
<tr class="separator:aa4551e4e61ca58ad8ba7c0daa6fb208c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac72c2c090f51de935a0ca9e4c1d1c2df"><td class="memItemLeft" align="right" valign="top"><a id="ac72c2c090f51de935a0ca9e4c1d1c2df"></a>
static int&#160;</td><td class="memItemRight" valign="bottom"><b>ToLower</b> (int v, TiXmlEncoding encoding)</td></tr>
<tr class="separator:ac72c2c090f51de935a0ca9e4c1d1c2df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee64d045c0491cbb4fbcedabcfdaf439"><td class="memItemLeft" align="right" valign="top"><a id="aee64d045c0491cbb4fbcedabcfdaf439"></a>
static void&#160;</td><td class="memItemRight" valign="bottom"><b>ConvertUTF32ToUTF8</b> (unsigned long input, char *output, int *length)</td></tr>
<tr class="separator:aee64d045c0491cbb4fbcedabcfdaf439"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a76fe359714b43331ab1a030cad16731b"><td class="memItemLeft" align="right" valign="top"><a id="a76fe359714b43331ab1a030cad16731b"></a>
<a class="el" href="structnd_1_1_ti_xml_cursor.html">TiXmlCursor</a>&#160;</td><td class="memItemRight" valign="bottom"><b>location</b></td></tr>
<tr class="separator:a76fe359714b43331ab1a030cad16731b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a08f8159e7abfa32abf65c1ccd63f1981"><td class="memItemLeft" align="right" valign="top"><a id="a08f8159e7abfa32abf65c1ccd63f1981"></a>
void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnd_1_1_ti_xml_base.html#a08f8159e7abfa32abf65c1ccd63f1981">userData</a></td></tr>
<tr class="memdesc:a08f8159e7abfa32abf65c1ccd63f1981"><td class="mdescLeft">&#160;</td><td class="mdescRight">Field containing a generic user pointer. <br /></td></tr>
<tr class="separator:a08f8159e7abfa32abf65c1ccd63f1981"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-static-attribs"></a>
Static Protected Attributes</h2></td></tr>
<tr class="memitem:a706ed69d41b936e917a2d22ca47c872e"><td class="memItemLeft" align="right" valign="top">static const char *&#160;</td><td class="memItemRight" valign="bottom"><b>errorString</b> [TIXML_ERROR_STRING_COUNT]</td></tr>
<tr class="separator:a706ed69d41b936e917a2d22ca47c872e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a218872a0d985ae30e78c55adc4bdb196"><td class="memItemLeft" align="right" valign="top"><a id="a218872a0d985ae30e78c55adc4bdb196"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>TiXmlNode</b></td></tr>
<tr class="separator:a218872a0d985ae30e78c55adc4bdb196"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab6592e32cb9132be517cc12a70564c4b"><td class="memItemLeft" align="right" valign="top"><a id="ab6592e32cb9132be517cc12a70564c4b"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>TiXmlElement</b></td></tr>
<tr class="separator:ab6592e32cb9132be517cc12a70564c4b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a173617f6dfe902cf484ce5552b950475"><td class="memItemLeft" align="right" valign="top"><a id="a173617f6dfe902cf484ce5552b950475"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>TiXmlDocument</b></td></tr>
<tr class="separator:a173617f6dfe902cf484ce5552b950475"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><a class="el" href="classnd_1_1_ti_xml_base.html" title="TiXmlBase is a base class for every class in TinyXml.">TiXmlBase</a> is a base class for every class in TinyXml. </p>
<p>It does little except to establish that TinyXml classes can be printed and provide some utility functions.</p>
<p>In XML, the document and elements can contain other elements and other types of nodes.</p>
<pre class="fragment">A Document can contain: Element (container or leaf)
                        Comment (leaf)
                        Unknown (leaf)
                        Declaration( leaf )

An Element can contain: Element (container or leaf)
                        Text    (leaf)
                        Attributes (not on tree)
                        Comment (leaf)
                        Unknown (leaf)

A Decleration contains: Attributes (not on tree)
</pre> </div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a27da7d65ac28ed4b4af278ef7d0b2e83"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a27da7d65ac28ed4b4af278ef7d0b2e83">&#9670;&nbsp;</a></span>EncodeString()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void nd::TiXmlBase::EncodeString </td>
          <td>(</td>
          <td class="paramtype">const TIXML_STRING &amp;&#160;</td>
          <td class="paramname"><em>str</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">TIXML_STRING *&#160;</td>
          <td class="paramname"><em>out</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Expands entities in a string. </p>
<p>Note this should not contian the tag's '&lt;', '&gt;', etc, or they will be transformed into entities! </p>

</div>
</div>
<a id="a8f3a568a0b8d3dd4cd3d8f8957e53e3d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8f3a568a0b8d3dd4cd3d8f8957e53e3d">&#9670;&nbsp;</a></span>Print()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void nd::TiXmlBase::Print </td>
          <td>(</td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>cfile</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>depth</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>All TinyXml classes can print themselves to a filestream or the string class (<a class="el" href="classnd_1_1_ti_xml_string.html">TiXmlString</a> in non-STL mode, std::string in STL mode.) Either or both cfile and str can be null. </p>
<p>This is a formatted print, and will insert tabs and newlines.</p>
<p>(For an unformatted stream, use the &lt;&lt; operator.) </p>

<p>Implemented in <a class="el" href="classnd_1_1_ti_xml_document.html#ac9f9c48cdb2debf56ca997340f80842b">nd::TiXmlDocument</a>, <a class="el" href="classnd_1_1_ti_xml_unknown.html#a668a0a1aeecd26aed3e1b02fea63c40a">nd::TiXmlUnknown</a>, <a class="el" href="classnd_1_1_ti_xml_declaration.html#a13c03473dd17308fb822e39f63a6fc88">nd::TiXmlDeclaration</a>, <a class="el" href="classnd_1_1_ti_xml_text.html#aabd25b1b69ded95fc2e29b0bea1228ae">nd::TiXmlText</a>, <a class="el" href="classnd_1_1_ti_xml_comment.html#aa4d5a8ff9643872226bbffcac2d94f27">nd::TiXmlComment</a>, <a class="el" href="classnd_1_1_ti_xml_element.html#a1310d457d5b32c4ce9729e42b8ec5973">nd::TiXmlElement</a>, and <a class="el" href="classnd_1_1_ti_xml_attribute.html#af095a35bd46851e32581c852aae3c3c9">nd::TiXmlAttribute</a>.</p>

</div>
</div>
<a id="a4144f6d69813dad0a1ed66b71ebdec08"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4144f6d69813dad0a1ed66b71ebdec08">&#9670;&nbsp;</a></span>Row()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int nd::TiXmlBase::Row </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the position, in the original source file, of this node or attribute. </p>
<p>The row and column are 1-based. (That is the first row and first column is 1,1). If the returns values are 0 or less, then the parser does not have a row and column value.</p>
<p>Generally, the row and column value will be set when the TiXmlDocument::Load(), <a class="el" href="classnd_1_1_ti_xml_document.html#a07f988abda39c15724829ca4b0d06fd5" title="Load a file using the current document value.">TiXmlDocument::LoadFile()</a>, or any TiXmlNode::Parse() is called. It will NOT be set when the DOM was created from operator&gt;&gt;.</p>
<p>The values reflect the initial load. Once the DOM is modified programmatically (by adding or changing nodes and attributes) the new values will NOT update to reflect changes in the document.</p>
<p>There is a minor performance cost to computing the row and column. Computation can be disabled if <a class="el" href="classnd_1_1_ti_xml_document.html#a61b5c6de4d535f400ea405f1bc3a00e3" title="SetTabSize() allows the error reporting functions (ErrorRow() and ErrorCol()) to report the correct v...">TiXmlDocument::SetTabSize()</a> is called with 0 as the value.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classnd_1_1_ti_xml_document.html#a61b5c6de4d535f400ea405f1bc3a00e3" title="SetTabSize() allows the error reporting functions (ErrorRow() and ErrorCol()) to report the correct v...">TiXmlDocument::SetTabSize()</a> </dd></dl>

</div>
</div>
<a id="aa27db22cfc1b8412f879eea022d67290"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa27db22cfc1b8412f879eea022d67290">&#9670;&nbsp;</a></span>SetCondenseWhiteSpace()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void nd::TiXmlBase::SetCondenseWhiteSpace </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>condense</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The world does not agree on whether white space should be kept or not. </p>
<p>In order to make everyone happy, these global, static functions are provided to set whether or not TinyXml will condense all white space into a single space or not. The default is to condense. Note changing this value is not thread safe. </p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a706ed69d41b936e917a2d22ca47c872e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a706ed69d41b936e917a2d22ca47c872e">&#9670;&nbsp;</a></span>errorString</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const char * nd::TiXmlBase::errorString</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<b>Initial value:</b><div class="fragment"><div class="line">=</div>
<div class="line">{</div>
<div class="line">    <span class="stringliteral">&quot;No error&quot;</span>,</div>
<div class="line">    <span class="stringliteral">&quot;Error&quot;</span>,</div>
<div class="line">    <span class="stringliteral">&quot;Failed to open file&quot;</span>,</div>
<div class="line">    <span class="stringliteral">&quot;Memory allocation failed.&quot;</span>,</div>
<div class="line">    <span class="stringliteral">&quot;Error parsing Element.&quot;</span>,</div>
<div class="line">    <span class="stringliteral">&quot;Failed to read Element name&quot;</span>,</div>
<div class="line">    <span class="stringliteral">&quot;Error reading Element value.&quot;</span>,</div>
<div class="line">    <span class="stringliteral">&quot;Error reading Attributes.&quot;</span>,</div>
<div class="line">    <span class="stringliteral">&quot;Error: empty tag.&quot;</span>,</div>
<div class="line">    <span class="stringliteral">&quot;Error reading end tag.&quot;</span>,</div>
<div class="line">    <span class="stringliteral">&quot;Error parsing Unknown.&quot;</span>,</div>
<div class="line">    <span class="stringliteral">&quot;Error parsing Comment.&quot;</span>,</div>
<div class="line">    <span class="stringliteral">&quot;Error parsing Declaration.&quot;</span>,</div>
<div class="line">    <span class="stringliteral">&quot;Error document empty.&quot;</span>,</div>
<div class="line">    <span class="stringliteral">&quot;Error null (0) or unexpected EOF found in input stream.&quot;</span>,</div>
<div class="line">    <span class="stringliteral">&quot;Error parsing CDATA.&quot;</span>,</div>
<div class="line">    <span class="stringliteral">&quot;Error when TiXmlDocument added to document, because TiXmlDocument can only be at the root.&quot;</span>,</div>
<div class="line">}</div>
</div><!-- fragment -->
</div>
</div>
<a id="a50c50836c4909fb534f2cd3122b2553e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a50c50836c4909fb534f2cd3122b2553e">&#9670;&nbsp;</a></span>utf8ByteTable</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const int nd::TiXmlBase::utf8ByteTable</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<b>Initial value:</b><div class="fragment"><div class="line">= </div>
<div class="line">{</div>
<div class="line">    </div>
<div class="line">        1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  </div>
<div class="line">        1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  </div>
<div class="line">        1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  </div>
<div class="line">        1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  </div>
<div class="line">        1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  </div>
<div class="line">        1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  </div>
<div class="line">        1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  </div>
<div class="line">        1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  </div>
<div class="line">        1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  </div>
<div class="line">        1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  </div>
<div class="line">        1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  </div>
<div class="line">        1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  </div>
<div class="line">        1,  1,  2,  2,  2,  2,  2,  2,  2,  2,  2,  2,  2,  2,  2,  2,  </div>
<div class="line">        2,  2,  2,  2,  2,  2,  2,  2,  2,  2,  2,  2,  2,  2,  2,  2,  </div>
<div class="line">        3,  3,  3,  3,  3,  3,  3,  3,  3,  3,  3,  3,  3,  3,  3,  3,  </div>
<div class="line">        4,  4,  4,  4,  4,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1   </div>
<div class="line">}</div>
</div><!-- fragment -->
</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>nd</b></li><li class="navelem"><a class="el" href="classnd_1_1_ti_xml_base.html">TiXmlBase</a></li>
    <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20 </li>
  </ul>
</div>
</body>
</html>
